import numpy as np
import pylab as pl
from radiosim import pyradio

duration = 0.01
fs = 32000        # 采样频率
x_o, A1, fc1, phi1 = pyradio.rand_wave(duration=duration, fs=fs)
print( A1, fc1, phi1, x_o.shape)

x_o = x_o.real  # 只取实部作为观测信号
pyradio.plot_wave(x_o, fs);
pl.show()